<html>
<head>
	<title>对话框的模拟演示</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="${createLinkTo(dir:'js',file:'showBox.js')}"></script>
</head>

<style>
	body {margin:0px;font-size:12px;}
</style>

<body scroll="no">
	
<div id="bgs" style="padding:10px">
	<br>
	首先在head里引用<font color="red">&lt;script type='text/javascript' src='msg.js'&gt;&lt;/script&gt;</font><p/>
	调用：<font color="red">onclick=msg("提示标题","提示格式","提示宽度","提示内容","点击确定后执行的JS操作");</font><p/>
	提示格式&nbsp;&nbsp; 1：只有确定按钮   2：有确定和取消   3：没有按钮<br><br>
	<button onclick='msg("提示框标题",1,"250","这里是内容","");'>先看看</button>&nbsp;
    <button onclick=msg("一个带有",2,"180","按确定后转到木子网站！","window.location.href='http://blog.csdn.net/showmy';")>选择提示</button>&nbsp;
    <button onclick='msg("没有按纽",3,"340","无选择","");'>无选择</button>&nbsp;
    <br>
         
</div>
   
</body>
</html>